package api

import (
	"github.com/gin-gonic/gin"
	"rpc-server/api/hander"
)

func LoadRand(r *gin.Engine) {
	group := r.Group("/user")
	{
		group.POST("/sendsms", hander.SendSms)
		group.POST("/login", hander.Login)
		group.POST("/list", hander.List)
		group.POST("/minio", hander.Minio)
		group.POST("/update", hander.Update)
		group.POST("/del", hander.Del)
	}

}
